package com.lwj.service.configuration;

import com.lwj.dto.configuration.DepartmentRoleDto;
import com.lwj.dto.configuration.RoleListDto;
import com.lwj.model.configuration.DepartmentRole;
import com.lwj.vo.PageBean;
import com.lwj.vo.configuration.PermissionCheckVo;
import com.lwj.vo.configuration.RoleVo;
import com.lwj.vo.system.MenuVo;

import java.util.List;

public interface DepartmentRoleService {
    int deleteByPrimaryKey(String departmentRoleId);

    int insert(DepartmentRole record);

    int insertSelective(DepartmentRole record);

    DepartmentRole selectByPrimaryKey(String departmentRoleId);

    int updateByPrimaryKeySelective(DepartmentRole record);

    int updateByPrimaryKey(DepartmentRole record);

    PageBean<RoleVo> roleList(RoleListDto dto);

    String roleSave(DepartmentRoleDto dto);

    PermissionCheckVo selectPermission(String permissionCode, String departmentRoleId, String empId);

   List<String> selectAdminIds(Boolean excludeDisabled);
}
